package cn.kais.drawer.coms;

import cn.kais.drawer.menu.MenuComs;

import java.text.AttributedString;

public class TextCom extends BaseComs {

    public AttributedString attr;
    public int align; // 数字使用：对齐方式  1顶部对齐 2垂直居中 3底部对齐 4小数上方对齐 5小数下方对齐

    public TextCom(AttributedString attr, int width, int height, int align) {
        this.menu = MenuComs.TEXT;
        this.attr = attr;
        this.width = width;
        this.height = height;
        this.align = align;
    }

}
